import Mock from 'mockjs'
import banner from './index/banner.json'
import actualCombat from './index/actualCombat.json'
import classNew from './index/newClass.json'
import base from '@/utils/axios/base.js' // 导入接口域名列表
// 格式： Mock.mock( url, post/get , 返回的数据)；
Mock.mock(`${base.url}/index/banner`, 'post', banner)
Mock.mock(`${base.url}/index/actualCombat`, 'post', actualCombat)
Mock.mock(`${base.url}/index/classNew`, 'post', classNew)
export default Mock
